//
//  prototipoEcoFriendsViewController.h
//  prototipoEcoFriends
//
//  Created by mayraDonaji on 9/20/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface prototipoEcoFriendsViewController : UIViewController <NSFetchedResultsControllerDelegate>{
	
	// CoreData attributes
	NSFetchedResultsController *fetchedResultsController;
	NSManagedObjectContext *managedObjectContext;
	
	// UI
	UIButton *gastos, *ahorros, *vivero, *consejos;

}

// CoreData Properties
@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;

// UI properties	
@property (nonatomic, retain) IBOutlet UIButton * gastos;
@property (nonatomic, retain) IBOutlet UIButton * ahorros;
@property (nonatomic, retain) IBOutlet UIButton * vivero;
@property (nonatomic, retain) IBOutlet UIButton * consejos;
	
	
-(IBAction) gastos :(id)sender;
-(IBAction) ahorros :(id)sender;
-(IBAction) vivero :(id)sender;
-(IBAction) consejos :(id)sender;
	
@end